<!-- 组件说明 -->
<template>
  <div class="howtomkmn" style="width: 100%;min-height: 100vh;">
    <goback :title="''"></goback>
    <div class="title"></div>
    <div class="content" v-for="(item,index) in content" :key="index">
      <p v-if="item.title">{{ item.title }}</p>
      <span>{{ item.contents }}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "bsduihuan",
  data() {
    return {
      img: require("@/assets/imgs/index/defaultPic.png"),
      content:[
        // {
        //   title:'步数兑换成皇钻积分的规则：',
        //   contents:'1）皇钻积分 = 总步数 * 总权重',
        // },
        // {
        //   title:'',
        //   contents:'2） 总步数 = 每天走的步数 + 现金购买的 walker的步数',
        // },
        // {
        //   title:'',
        //   contents:'3）总权重 = 0.00004 + 拍摄权重 + 点赞权重 + 现金购买的道具的权重',
        // },
        {
          title:'Rules for converting steps into Royal diamond points:',
          contents:'1) Royal diamond integral = total steps * total weight',
        },
        {
          title:'',
          contents:'2) Total steps = steps taken every day + steps of Walker purchased in cash',
        },
        {
          title:'',
          contents:'3) Total weight = 0.00004 + shooting weight + praise weight + weight of props purchased in cash',
        },
      ]
    };
  },
  computed: {
    objSize: function() {
      return remNumber(720) * 3.3;
    }
  },
  methods: {
    pageinit() {
      // this.get_inforeward();
      // this.get_inforewardtop10();
    }
  },
  mounted() {
    this.pageinit();
  },
  beforeCreate() {}, //生命周期 - 创建之前
  beforeMount() {}, //生命周期 - 挂载之前
  beforeUpdate() {}, //生命周期 - 更新之前
  updated() {}, //生命周期 - 更新之后
  beforeDestroy() {}, //生命周期 - 销毁之前
  destroyed() {}, //生命周期 - 销毁完成
  activated() {} //如果页面有keep-alive缓存功能，这个函数会触发
};
</script>

<style lang="less" scoped>
@import url("./../../assets/css/common.less");
.howtomkmn {
  color: #004889;
  background: linear-gradient(180deg, #00b1ff 0%, #0089ff 100%);
  padding: 0 0.4rem 0.4rem;
  box-sizing: border-box;
  .title {
    padding: 1.52rem 0 0;
    color: #fff;
    font-weight: bold;
    font-size: 0.4rem;
  }
  .content {
    margin: 0.5rem 0 0;
    p {
      line-height: 0.35rem;
      //height: 0.35rem;
      color: #fff;
      font-size: 0.32rem;
      margin-bottom: 5px;
    }
    span {
      line-height: 0.32rem;
      height: 0.32rem;
      color: #fff;
      font-size: 0.28rem;
    }
  }
}
</style>
